import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入基础样式
import './assets/styles/index.scss';
//引入Elementplus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//引入icon
import * as icons from '@element-plus/icons-vue'
const app = createApp(App)
app.use(ElementPlus)
app.use(store)
app.use(router)
app.mount('#app')
Object.keys(icons).forEach(key => {
    app.component(key, icons[key])
})